using System;
using System.Collections.Generic;
using System.Text;
using dotnetCHARTING.WinForms;
using System.Drawing;
using System.Windows.Forms;

namespace Budgetor.DataVizualization
{
    class ChartWrapper : Chart
    {
        bool flag;

        protected override void OnPaint(System.Windows.Forms.PaintEventArgs e)
        {
            //if (!flag)
            //{
            //    e.Graphics.Clear(Color.White);
            //    TextRenderer.DrawText(e.Graphics, "Preparing chart...", new Font("Arial", 10, FontStyle.Italic),
            //        this.ClientRectangle, Color.Black);
                
            //}
            //else
            //{
                base.OnPaint(e);
            //}

            //flag = !flag;
        }
    }
}
